<?php if (isset($configs['ExtraFields']) && !empty($configs['ExtraFields'])) :?>
<?php foreach($configs['ExtraFields'] as $item):?>
<?php echo $this->element("extra_fields/".Inflector::tableize($item['model']), array('plugin' => $this->params['plugin']));?>
<?php endforeach;?>
<?php endif;?>